package com.example.common.req.payment;

import com.example.common.req.BaseReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@Schema(description = "支付请求")
public class PaymentReq extends BaseReq {

    @NotEmpty(message = "serial can not be empty")
    @Schema(description = "支付流水号", required = true)
    private String serial;
}
